Optimal. Leaf size=114 \[ \frac{2 (a+b x)^{3/2} \left (3 a^2 f-2 a b e+b^2 d\right )}{3 b^4}+\frac{2 \sqrt{a+b x} \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{b^4}+\frac{2 (a+b x)^{5/2} (b e-3 a f)}{5 b^4}+\frac{2 f (a+b x)^{7/2}}{7 b^4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.143349, antiderivative size = 114, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.04 \[ \frac{2 (a+b x)^{3/2} \left (3 a^2 f-2 a b e+b^2 d\right )}{3 b^4}+\frac{2 \sqrt{a+b x} \left (a^3 (-f)+a^2 b e-a b^2 d+b^3 c\right )}{b^4}+\frac{2 (a+b x)^{5/2} (b e-3 a f)}{5 b^4}+\frac{2 f (a+b x)^{7/2}}{7 b^4} \]
Antiderivative was successfully verified.
[In] Int[(c + d*x + e*x^2 + f*x^3)/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 26.1262, size = 110, normalized size = 0.96 \[ \frac{2 f \left (a + b x\right )^{\frac{7}{2}}}{7 b^{4}} - \frac{2 \left (a + b x\right )^{\frac{5}{2}} \left (3 a f - b e\right )}{5 b^{4}} + \frac{2 \left (a + b x\right )^{\frac{3}{2}} \left (3 a^{2} f - 2 a b e + b^{2} d\right )}{3 b^{4}} - \frac{2 \sqrt{a + b x} \left (a^{3} f - a^{2} b e + a b^{2} d - b^{3} c\right )}{b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((f*x**3+e*x**2+d*x+c)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0995704, size = 82, normalized size = 0.72 \[ \frac{2 \sqrt{a+b x} \left (-48 a^3 f+8 a^2 b (7 e+3 f x)-2 a b^2 (35 d+x (14 e+9 f x))+b^3 (105 c+x (35 d+3 x (7 e+5 f x)))\right )}{105 b^4} \]
Antiderivative was successfully verified.
[In] Integrate[(c + d*x + e*x^2 + f*x^3)/Sqrt[a + b*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 91, normalized size = 0.8 \[ -{\frac{-30\,f{x}^{3}{b}^{3}+36\,a{b}^{2}f{x}^{2}-42\,{b}^{3}e{x}^{2}-48\,{a}^{2}bfx+56\,a{b}^{2}ex-70\,{b}^{3}dx+96\,{a}^{3}f-112\,{a}^{2}be+140\,a{b}^{2}d-210\,{b}^{3}c}{105\,{b}^{4}}\sqrt{bx+a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((f*x^3+e*x^2+d*x+c)/(b*x+a)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.37849, size = 173, normalized size = 1.52 \[ \frac{2 \,{\left (105 \, \sqrt{b x + a} c + \frac{35 \,{\left ({\left (b x + a\right )}^{\frac{3}{2}} - 3 \, \sqrt{b x + a} a\right )} d}{b} + \frac{7 \,{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} - 10 \,{\left (b x + a\right )}^{\frac{3}{2}} a + 15 \, \sqrt{b x + a} a^{2}\right )} e}{b^{2}} + \frac{3 \,{\left (5 \,{\left (b x + a\right )}^{\frac{7}{2}} - 21 \,{\left (b x + a\right )}^{\frac{5}{2}} a + 35 \,{\left (b x + a\right )}^{\frac{3}{2}} a^{2} - 35 \, \sqrt{b x + a} a^{3}\right )} f}{b^{3}}\right )}}{105 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^3 + e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.216486, size = 122, normalized size = 1.07 \[ \frac{2 \,{\left (15 \, b^{3} f x^{3} + 105 \, b^{3} c - 70 \, a b^{2} d + 56 \, a^{2} b e - 48 \, a^{3} f + 3 \,{\left (7 \, b^{3} e - 6 \, a b^{2} f\right )} x^{2} +{\left (35 \, b^{3} d - 28 \, a b^{2} e + 24 \, a^{2} b f\right )} x\right )} \sqrt{b x + a}}{105 \, b^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^3 + e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 6.34342, size = 354, normalized size = 3.11 \[ \begin{cases} - \frac{\frac{2 a c}{\sqrt{a + b x}} + \frac{2 a d \left (- \frac{a}{\sqrt{a + b x}} - \sqrt{a + b x}\right )}{b} + \frac{2 a e \left (\frac{a^{2}}{\sqrt{a + b x}} + 2 a \sqrt{a + b x} - \frac{\left (a + b x\right )^{\frac{3}{2}}}{3}\right )}{b^{2}} + \frac{2 a f \left (- \frac{a^{3}}{\sqrt{a + b x}} - 3 a^{2} \sqrt{a + b x} + a \left (a + b x\right )^{\frac{3}{2}} - \frac{\left (a + b x\right )^{\frac{5}{2}}}{5}\right )}{b^{3}} + 2 c \left (- \frac{a}{\sqrt{a + b x}} - \sqrt{a + b x}\right ) + \frac{2 d \left (\frac{a^{2}}{\sqrt{a + b x}} + 2 a \sqrt{a + b x} - \frac{\left (a + b x\right )^{\frac{3}{2}}}{3}\right )}{b} + \frac{2 e \left (- \frac{a^{3}}{\sqrt{a + b x}} - 3 a^{2} \sqrt{a + b x} + a \left (a + b x\right )^{\frac{3}{2}} - \frac{\left (a + b x\right )^{\frac{5}{2}}}{5}\right )}{b^{2}} + \frac{2 f \left (\frac{a^{4}}{\sqrt{a + b x}} + 4 a^{3} \sqrt{a + b x} - 2 a^{2} \left (a + b x\right )^{\frac{3}{2}} + \frac{4 a \left (a + b x\right )^{\frac{5}{2}}}{5} - \frac{\left (a + b x\right )^{\frac{7}{2}}}{7}\right )}{b^{3}}}{b} & \text{for}\: b \neq 0 \\\frac{c x + \frac{d x^{2}}{2} + \frac{e x^{3}}{3} + \frac{f x^{4}}{4}}{\sqrt{a}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x**3+e*x**2+d*x+c)/(b*x+a)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.210928, size = 203, normalized size = 1.78 \[ \frac{2 \,{\left (105 \, \sqrt{b x + a} c + \frac{35 \,{\left ({\left (b x + a\right )}^{\frac{3}{2}} - 3 \, \sqrt{b x + a} a\right )} d}{b} + \frac{7 \,{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} b^{8} - 10 \,{\left (b x + a\right )}^{\frac{3}{2}} a b^{8} + 15 \, \sqrt{b x + a} a^{2} b^{8}\right )} e}{b^{10}} + \frac{3 \,{\left (5 \,{\left (b x + a\right )}^{\frac{7}{2}} b^{18} - 21 \,{\left (b x + a\right )}^{\frac{5}{2}} a b^{18} + 35 \,{\left (b x + a\right )}^{\frac{3}{2}} a^{2} b^{18} - 35 \, \sqrt{b x + a} a^{3} b^{18}\right )} f}{b^{21}}\right )}}{105 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x^3 + e*x^2 + d*x + c)/sqrt(b*x + a),x, algorithm="giac")
[Out]